package com.simplemvc.demo;

import com.simplemvc.core.Action;
import javax.servlet.http.HttpServletRequest;
/**
 *
 * @author 王海
 */
public class DemoAction  implements  Action{
  
    public String test(LoginForm form){
        HttpServletRequest request =  form.getRequest();
        request.setAttribute("form", form);
        return "success";
    }  
}
